package com.cj.mobile.iabp.mvp.model.entity;

import java.util.List;

/**
 * @ProjectName: AptitudeAndroid
 * @Package: com.cj.mobile.iabp.mvp.model.entity
 * @ClassName: ChatMessageResponse
 * @Description:
 * @Author: WLY
 * @CreateDate: 2022/10/21 15:24
 */
public class ChatMessageResponse {
    public ChatMessageResponse(List<ChatMessage> chatList) {
        this.dataList = chatList;
    }

    // 总页数
    private int totalNumber;
    // 总条数
    private int totalPage;
    // 会话列表
    private List<ChatMessage> dataList;
    // 推荐最新订单
    private ChatOrderInfo orderInfo;

    // 收到的消息(websocket)
    private ChatMessage data;

    public ChatMessage getData() {
        return data;
    }

    public void setData(ChatMessage data) {
        this.data = data;
    }

    public int getTotalNumber() {
        return totalNumber;
    }

    public void setTotalNumber(int totalNumber) {
        this.totalNumber = totalNumber;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<ChatMessage> getDataList() {
        return dataList;
    }

    public void setDataList(List<ChatMessage> dataList) {
        this.dataList = dataList;
    }

    public ChatOrderInfo getOrderInfo() {
        return orderInfo;
    }

    public void setOrderInfo(ChatOrderInfo orderInfo) {
        this.orderInfo = orderInfo;
    }
}
